package net.office.bean;

import java.util.ArrayList;
import java.util.List;

public class ExpenseExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ExpenseExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andExpenseIdIsNull() {
            addCriterion("expense_Id is null");
            return (Criteria) this;
        }

        public Criteria andExpenseIdIsNotNull() {
            addCriterion("expense_Id is not null");
            return (Criteria) this;
        }

        public Criteria andExpenseIdEqualTo(Integer value) {
            addCriterion("expense_Id =", value, "expenseId");
            return (Criteria) this;
        }

        public Criteria andExpenseIdNotEqualTo(Integer value) {
            addCriterion("expense_Id <>", value, "expenseId");
            return (Criteria) this;
        }

        public Criteria andExpenseIdGreaterThan(Integer value) {
            addCriterion("expense_Id >", value, "expenseId");
            return (Criteria) this;
        }

        public Criteria andExpenseIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("expense_Id >=", value, "expenseId");
            return (Criteria) this;
        }

        public Criteria andExpenseIdLessThan(Integer value) {
            addCriterion("expense_Id <", value, "expenseId");
            return (Criteria) this;
        }

        public Criteria andExpenseIdLessThanOrEqualTo(Integer value) {
            addCriterion("expense_Id <=", value, "expenseId");
            return (Criteria) this;
        }

        public Criteria andExpenseIdIn(List<Integer> values) {
            addCriterion("expense_Id in", values, "expenseId");
            return (Criteria) this;
        }

        public Criteria andExpenseIdNotIn(List<Integer> values) {
            addCriterion("expense_Id not in", values, "expenseId");
            return (Criteria) this;
        }

        public Criteria andExpenseIdBetween(Integer value1, Integer value2) {
            addCriterion("expense_Id between", value1, value2, "expenseId");
            return (Criteria) this;
        }

        public Criteria andExpenseIdNotBetween(Integer value1, Integer value2) {
            addCriterion("expense_Id not between", value1, value2, "expenseId");
            return (Criteria) this;
        }

        public Criteria andExpenseDepartmentIsNull() {
            addCriterion("expense_department is null");
            return (Criteria) this;
        }

        public Criteria andExpenseDepartmentIsNotNull() {
            addCriterion("expense_department is not null");
            return (Criteria) this;
        }

        public Criteria andExpenseDepartmentEqualTo(String value) {
            addCriterion("expense_department =", value, "expenseDepartment");
            return (Criteria) this;
        }

        public Criteria andExpenseDepartmentNotEqualTo(String value) {
            addCriterion("expense_department <>", value, "expenseDepartment");
            return (Criteria) this;
        }

        public Criteria andExpenseDepartmentGreaterThan(String value) {
            addCriterion("expense_department >", value, "expenseDepartment");
            return (Criteria) this;
        }

        public Criteria andExpenseDepartmentGreaterThanOrEqualTo(String value) {
            addCriterion("expense_department >=", value, "expenseDepartment");
            return (Criteria) this;
        }

        public Criteria andExpenseDepartmentLessThan(String value) {
            addCriterion("expense_department <", value, "expenseDepartment");
            return (Criteria) this;
        }

        public Criteria andExpenseDepartmentLessThanOrEqualTo(String value) {
            addCriterion("expense_department <=", value, "expenseDepartment");
            return (Criteria) this;
        }

        public Criteria andExpenseDepartmentLike(String value) {
            addCriterion("expense_department like", value, "expenseDepartment");
            return (Criteria) this;
        }

        public Criteria andExpenseDepartmentNotLike(String value) {
            addCriterion("expense_department not like", value, "expenseDepartment");
            return (Criteria) this;
        }

        public Criteria andExpenseDepartmentIn(List<String> values) {
            addCriterion("expense_department in", values, "expenseDepartment");
            return (Criteria) this;
        }

        public Criteria andExpenseDepartmentNotIn(List<String> values) {
            addCriterion("expense_department not in", values, "expenseDepartment");
            return (Criteria) this;
        }

        public Criteria andExpenseDepartmentBetween(String value1, String value2) {
            addCriterion("expense_department between", value1, value2, "expenseDepartment");
            return (Criteria) this;
        }

        public Criteria andExpenseDepartmentNotBetween(String value1, String value2) {
            addCriterion("expense_department not between", value1, value2, "expenseDepartment");
            return (Criteria) this;
        }

        public Criteria andExpenseDealNameIsNull() {
            addCriterion("expense_deal_name is null");
            return (Criteria) this;
        }

        public Criteria andExpenseDealNameIsNotNull() {
            addCriterion("expense_deal_name is not null");
            return (Criteria) this;
        }

        public Criteria andExpenseDealNameEqualTo(String value) {
            addCriterion("expense_deal_name =", value, "expenseDealName");
            return (Criteria) this;
        }

        public Criteria andExpenseDealNameNotEqualTo(String value) {
            addCriterion("expense_deal_name <>", value, "expenseDealName");
            return (Criteria) this;
        }

        public Criteria andExpenseDealNameGreaterThan(String value) {
            addCriterion("expense_deal_name >", value, "expenseDealName");
            return (Criteria) this;
        }

        public Criteria andExpenseDealNameGreaterThanOrEqualTo(String value) {
            addCriterion("expense_deal_name >=", value, "expenseDealName");
            return (Criteria) this;
        }

        public Criteria andExpenseDealNameLessThan(String value) {
            addCriterion("expense_deal_name <", value, "expenseDealName");
            return (Criteria) this;
        }

        public Criteria andExpenseDealNameLessThanOrEqualTo(String value) {
            addCriterion("expense_deal_name <=", value, "expenseDealName");
            return (Criteria) this;
        }

        public Criteria andExpenseDealNameLike(String value) {
            addCriterion("expense_deal_name like", value, "expenseDealName");
            return (Criteria) this;
        }

        public Criteria andExpenseDealNameNotLike(String value) {
            addCriterion("expense_deal_name not like", value, "expenseDealName");
            return (Criteria) this;
        }

        public Criteria andExpenseDealNameIn(List<String> values) {
            addCriterion("expense_deal_name in", values, "expenseDealName");
            return (Criteria) this;
        }

        public Criteria andExpenseDealNameNotIn(List<String> values) {
            addCriterion("expense_deal_name not in", values, "expenseDealName");
            return (Criteria) this;
        }

        public Criteria andExpenseDealNameBetween(String value1, String value2) {
            addCriterion("expense_deal_name between", value1, value2, "expenseDealName");
            return (Criteria) this;
        }

        public Criteria andExpenseDealNameNotBetween(String value1, String value2) {
            addCriterion("expense_deal_name not between", value1, value2, "expenseDealName");
            return (Criteria) this;
        }

        public Criteria andExpenseTotalIsNull() {
            addCriterion("expense_total is null");
            return (Criteria) this;
        }

        public Criteria andExpenseTotalIsNotNull() {
            addCriterion("expense_total is not null");
            return (Criteria) this;
        }

        public Criteria andExpenseTotalEqualTo(Double value) {
            addCriterion("expense_total =", value, "expenseTotal");
            return (Criteria) this;
        }

        public Criteria andExpenseTotalNotEqualTo(Double value) {
            addCriterion("expense_total <>", value, "expenseTotal");
            return (Criteria) this;
        }

        public Criteria andExpenseTotalGreaterThan(Double value) {
            addCriterion("expense_total >", value, "expenseTotal");
            return (Criteria) this;
        }

        public Criteria andExpenseTotalGreaterThanOrEqualTo(Double value) {
            addCriterion("expense_total >=", value, "expenseTotal");
            return (Criteria) this;
        }

        public Criteria andExpenseTotalLessThan(Double value) {
            addCriterion("expense_total <", value, "expenseTotal");
            return (Criteria) this;
        }

        public Criteria andExpenseTotalLessThanOrEqualTo(Double value) {
            addCriterion("expense_total <=", value, "expenseTotal");
            return (Criteria) this;
        }

        public Criteria andExpenseTotalIn(List<Double> values) {
            addCriterion("expense_total in", values, "expenseTotal");
            return (Criteria) this;
        }

        public Criteria andExpenseTotalNotIn(List<Double> values) {
            addCriterion("expense_total not in", values, "expenseTotal");
            return (Criteria) this;
        }

        public Criteria andExpenseTotalBetween(Double value1, Double value2) {
            addCriterion("expense_total between", value1, value2, "expenseTotal");
            return (Criteria) this;
        }

        public Criteria andExpenseTotalNotBetween(Double value1, Double value2) {
            addCriterion("expense_total not between", value1, value2, "expenseTotal");
            return (Criteria) this;
        }

        public Criteria andExpenseWayIsNull() {
            addCriterion("expense_way is null");
            return (Criteria) this;
        }

        public Criteria andExpenseWayIsNotNull() {
            addCriterion("expense_way is not null");
            return (Criteria) this;
        }

        public Criteria andExpenseWayEqualTo(Integer value) {
            addCriterion("expense_way =", value, "expenseWay");
            return (Criteria) this;
        }

        public Criteria andExpenseWayNotEqualTo(Integer value) {
            addCriterion("expense_way <>", value, "expenseWay");
            return (Criteria) this;
        }

        public Criteria andExpenseWayGreaterThan(Integer value) {
            addCriterion("expense_way >", value, "expenseWay");
            return (Criteria) this;
        }

        public Criteria andExpenseWayGreaterThanOrEqualTo(Integer value) {
            addCriterion("expense_way >=", value, "expenseWay");
            return (Criteria) this;
        }

        public Criteria andExpenseWayLessThan(Integer value) {
            addCriterion("expense_way <", value, "expenseWay");
            return (Criteria) this;
        }

        public Criteria andExpenseWayLessThanOrEqualTo(Integer value) {
            addCriterion("expense_way <=", value, "expenseWay");
            return (Criteria) this;
        }

        public Criteria andExpenseWayIn(List<Integer> values) {
            addCriterion("expense_way in", values, "expenseWay");
            return (Criteria) this;
        }

        public Criteria andExpenseWayNotIn(List<Integer> values) {
            addCriterion("expense_way not in", values, "expenseWay");
            return (Criteria) this;
        }

        public Criteria andExpenseWayBetween(Integer value1, Integer value2) {
            addCriterion("expense_way between", value1, value2, "expenseWay");
            return (Criteria) this;
        }

        public Criteria andExpenseWayNotBetween(Integer value1, Integer value2) {
            addCriterion("expense_way not between", value1, value2, "expenseWay");
            return (Criteria) this;
        }

        public Criteria andExpenseReceiveDepartmentIsNull() {
            addCriterion("expense_receive_department is null");
            return (Criteria) this;
        }

        public Criteria andExpenseReceiveDepartmentIsNotNull() {
            addCriterion("expense_receive_department is not null");
            return (Criteria) this;
        }

        public Criteria andExpenseReceiveDepartmentEqualTo(String value) {
            addCriterion("expense_receive_department =", value, "expenseReceiveDepartment");
            return (Criteria) this;
        }

        public Criteria andExpenseReceiveDepartmentNotEqualTo(String value) {
            addCriterion("expense_receive_department <>", value, "expenseReceiveDepartment");
            return (Criteria) this;
        }

        public Criteria andExpenseReceiveDepartmentGreaterThan(String value) {
            addCriterion("expense_receive_department >", value, "expenseReceiveDepartment");
            return (Criteria) this;
        }

        public Criteria andExpenseReceiveDepartmentGreaterThanOrEqualTo(String value) {
            addCriterion("expense_receive_department >=", value, "expenseReceiveDepartment");
            return (Criteria) this;
        }

        public Criteria andExpenseReceiveDepartmentLessThan(String value) {
            addCriterion("expense_receive_department <", value, "expenseReceiveDepartment");
            return (Criteria) this;
        }

        public Criteria andExpenseReceiveDepartmentLessThanOrEqualTo(String value) {
            addCriterion("expense_receive_department <=", value, "expenseReceiveDepartment");
            return (Criteria) this;
        }

        public Criteria andExpenseReceiveDepartmentLike(String value) {
            addCriterion("expense_receive_department like", value, "expenseReceiveDepartment");
            return (Criteria) this;
        }

        public Criteria andExpenseReceiveDepartmentNotLike(String value) {
            addCriterion("expense_receive_department not like", value, "expenseReceiveDepartment");
            return (Criteria) this;
        }

        public Criteria andExpenseReceiveDepartmentIn(List<String> values) {
            addCriterion("expense_receive_department in", values, "expenseReceiveDepartment");
            return (Criteria) this;
        }

        public Criteria andExpenseReceiveDepartmentNotIn(List<String> values) {
            addCriterion("expense_receive_department not in", values, "expenseReceiveDepartment");
            return (Criteria) this;
        }

        public Criteria andExpenseReceiveDepartmentBetween(String value1, String value2) {
            addCriterion("expense_receive_department between", value1, value2, "expenseReceiveDepartment");
            return (Criteria) this;
        }

        public Criteria andExpenseReceiveDepartmentNotBetween(String value1, String value2) {
            addCriterion("expense_receive_department not between", value1, value2, "expenseReceiveDepartment");
            return (Criteria) this;
        }

        public Criteria andExpenseReceiveAccountIsNull() {
            addCriterion("expense_receive_account is null");
            return (Criteria) this;
        }

        public Criteria andExpenseReceiveAccountIsNotNull() {
            addCriterion("expense_receive_account is not null");
            return (Criteria) this;
        }

        public Criteria andExpenseReceiveAccountEqualTo(String value) {
            addCriterion("expense_receive_account =", value, "expenseReceiveAccount");
            return (Criteria) this;
        }

        public Criteria andExpenseReceiveAccountNotEqualTo(String value) {
            addCriterion("expense_receive_account <>", value, "expenseReceiveAccount");
            return (Criteria) this;
        }

        public Criteria andExpenseReceiveAccountGreaterThan(String value) {
            addCriterion("expense_receive_account >", value, "expenseReceiveAccount");
            return (Criteria) this;
        }

        public Criteria andExpenseReceiveAccountGreaterThanOrEqualTo(String value) {
            addCriterion("expense_receive_account >=", value, "expenseReceiveAccount");
            return (Criteria) this;
        }

        public Criteria andExpenseReceiveAccountLessThan(String value) {
            addCriterion("expense_receive_account <", value, "expenseReceiveAccount");
            return (Criteria) this;
        }

        public Criteria andExpenseReceiveAccountLessThanOrEqualTo(String value) {
            addCriterion("expense_receive_account <=", value, "expenseReceiveAccount");
            return (Criteria) this;
        }

        public Criteria andExpenseReceiveAccountLike(String value) {
            addCriterion("expense_receive_account like", value, "expenseReceiveAccount");
            return (Criteria) this;
        }

        public Criteria andExpenseReceiveAccountNotLike(String value) {
            addCriterion("expense_receive_account not like", value, "expenseReceiveAccount");
            return (Criteria) this;
        }

        public Criteria andExpenseReceiveAccountIn(List<String> values) {
            addCriterion("expense_receive_account in", values, "expenseReceiveAccount");
            return (Criteria) this;
        }

        public Criteria andExpenseReceiveAccountNotIn(List<String> values) {
            addCriterion("expense_receive_account not in", values, "expenseReceiveAccount");
            return (Criteria) this;
        }

        public Criteria andExpenseReceiveAccountBetween(String value1, String value2) {
            addCriterion("expense_receive_account between", value1, value2, "expenseReceiveAccount");
            return (Criteria) this;
        }

        public Criteria andExpenseReceiveAccountNotBetween(String value1, String value2) {
            addCriterion("expense_receive_account not between", value1, value2, "expenseReceiveAccount");
            return (Criteria) this;
        }

        public Criteria andExpenseReceiveBankIsNull() {
            addCriterion("expense_receive_bank is null");
            return (Criteria) this;
        }

        public Criteria andExpenseReceiveBankIsNotNull() {
            addCriterion("expense_receive_bank is not null");
            return (Criteria) this;
        }

        public Criteria andExpenseReceiveBankEqualTo(String value) {
            addCriterion("expense_receive_bank =", value, "expenseReceiveBank");
            return (Criteria) this;
        }

        public Criteria andExpenseReceiveBankNotEqualTo(String value) {
            addCriterion("expense_receive_bank <>", value, "expenseReceiveBank");
            return (Criteria) this;
        }

        public Criteria andExpenseReceiveBankGreaterThan(String value) {
            addCriterion("expense_receive_bank >", value, "expenseReceiveBank");
            return (Criteria) this;
        }

        public Criteria andExpenseReceiveBankGreaterThanOrEqualTo(String value) {
            addCriterion("expense_receive_bank >=", value, "expenseReceiveBank");
            return (Criteria) this;
        }

        public Criteria andExpenseReceiveBankLessThan(String value) {
            addCriterion("expense_receive_bank <", value, "expenseReceiveBank");
            return (Criteria) this;
        }

        public Criteria andExpenseReceiveBankLessThanOrEqualTo(String value) {
            addCriterion("expense_receive_bank <=", value, "expenseReceiveBank");
            return (Criteria) this;
        }

        public Criteria andExpenseReceiveBankLike(String value) {
            addCriterion("expense_receive_bank like", value, "expenseReceiveBank");
            return (Criteria) this;
        }

        public Criteria andExpenseReceiveBankNotLike(String value) {
            addCriterion("expense_receive_bank not like", value, "expenseReceiveBank");
            return (Criteria) this;
        }

        public Criteria andExpenseReceiveBankIn(List<String> values) {
            addCriterion("expense_receive_bank in", values, "expenseReceiveBank");
            return (Criteria) this;
        }

        public Criteria andExpenseReceiveBankNotIn(List<String> values) {
            addCriterion("expense_receive_bank not in", values, "expenseReceiveBank");
            return (Criteria) this;
        }

        public Criteria andExpenseReceiveBankBetween(String value1, String value2) {
            addCriterion("expense_receive_bank between", value1, value2, "expenseReceiveBank");
            return (Criteria) this;
        }

        public Criteria andExpenseReceiveBankNotBetween(String value1, String value2) {
            addCriterion("expense_receive_bank not between", value1, value2, "expenseReceiveBank");
            return (Criteria) this;
        }

        public Criteria andGeneralManagerStaffIdIsNull() {
            addCriterion("general_manager_staff_Id is null");
            return (Criteria) this;
        }

        public Criteria andGeneralManagerStaffIdIsNotNull() {
            addCriterion("general_manager_staff_Id is not null");
            return (Criteria) this;
        }

        public Criteria andGeneralManagerStaffIdEqualTo(Integer value) {
            addCriterion("general_manager_staff_Id =", value, "generalManagerStaffId");
            return (Criteria) this;
        }

        public Criteria andGeneralManagerStaffIdNotEqualTo(Integer value) {
            addCriterion("general_manager_staff_Id <>", value, "generalManagerStaffId");
            return (Criteria) this;
        }

        public Criteria andGeneralManagerStaffIdGreaterThan(Integer value) {
            addCriterion("general_manager_staff_Id >", value, "generalManagerStaffId");
            return (Criteria) this;
        }

        public Criteria andGeneralManagerStaffIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("general_manager_staff_Id >=", value, "generalManagerStaffId");
            return (Criteria) this;
        }

        public Criteria andGeneralManagerStaffIdLessThan(Integer value) {
            addCriterion("general_manager_staff_Id <", value, "generalManagerStaffId");
            return (Criteria) this;
        }

        public Criteria andGeneralManagerStaffIdLessThanOrEqualTo(Integer value) {
            addCriterion("general_manager_staff_Id <=", value, "generalManagerStaffId");
            return (Criteria) this;
        }

        public Criteria andGeneralManagerStaffIdIn(List<Integer> values) {
            addCriterion("general_manager_staff_Id in", values, "generalManagerStaffId");
            return (Criteria) this;
        }

        public Criteria andGeneralManagerStaffIdNotIn(List<Integer> values) {
            addCriterion("general_manager_staff_Id not in", values, "generalManagerStaffId");
            return (Criteria) this;
        }

        public Criteria andGeneralManagerStaffIdBetween(Integer value1, Integer value2) {
            addCriterion("general_manager_staff_Id between", value1, value2, "generalManagerStaffId");
            return (Criteria) this;
        }

        public Criteria andGeneralManagerStaffIdNotBetween(Integer value1, Integer value2) {
            addCriterion("general_manager_staff_Id not between", value1, value2, "generalManagerStaffId");
            return (Criteria) this;
        }

        public Criteria andGeneralManagerStaffNameIsNull() {
            addCriterion("general_manager_staff_name is null");
            return (Criteria) this;
        }

        public Criteria andGeneralManagerStaffNameIsNotNull() {
            addCriterion("general_manager_staff_name is not null");
            return (Criteria) this;
        }

        public Criteria andGeneralManagerStaffNameEqualTo(String value) {
            addCriterion("general_manager_staff_name =", value, "generalManagerStaffName");
            return (Criteria) this;
        }

        public Criteria andGeneralManagerStaffNameNotEqualTo(String value) {
            addCriterion("general_manager_staff_name <>", value, "generalManagerStaffName");
            return (Criteria) this;
        }

        public Criteria andGeneralManagerStaffNameGreaterThan(String value) {
            addCriterion("general_manager_staff_name >", value, "generalManagerStaffName");
            return (Criteria) this;
        }

        public Criteria andGeneralManagerStaffNameGreaterThanOrEqualTo(String value) {
            addCriterion("general_manager_staff_name >=", value, "generalManagerStaffName");
            return (Criteria) this;
        }

        public Criteria andGeneralManagerStaffNameLessThan(String value) {
            addCriterion("general_manager_staff_name <", value, "generalManagerStaffName");
            return (Criteria) this;
        }

        public Criteria andGeneralManagerStaffNameLessThanOrEqualTo(String value) {
            addCriterion("general_manager_staff_name <=", value, "generalManagerStaffName");
            return (Criteria) this;
        }

        public Criteria andGeneralManagerStaffNameLike(String value) {
            addCriterion("general_manager_staff_name like", value, "generalManagerStaffName");
            return (Criteria) this;
        }

        public Criteria andGeneralManagerStaffNameNotLike(String value) {
            addCriterion("general_manager_staff_name not like", value, "generalManagerStaffName");
            return (Criteria) this;
        }

        public Criteria andGeneralManagerStaffNameIn(List<String> values) {
            addCriterion("general_manager_staff_name in", values, "generalManagerStaffName");
            return (Criteria) this;
        }

        public Criteria andGeneralManagerStaffNameNotIn(List<String> values) {
            addCriterion("general_manager_staff_name not in", values, "generalManagerStaffName");
            return (Criteria) this;
        }

        public Criteria andGeneralManagerStaffNameBetween(String value1, String value2) {
            addCriterion("general_manager_staff_name between", value1, value2, "generalManagerStaffName");
            return (Criteria) this;
        }

        public Criteria andGeneralManagerStaffNameNotBetween(String value1, String value2) {
            addCriterion("general_manager_staff_name not between", value1, value2, "generalManagerStaffName");
            return (Criteria) this;
        }

        public Criteria andDepartManagerStaffIdIsNull() {
            addCriterion("depart_manager_staff_Id is null");
            return (Criteria) this;
        }

        public Criteria andDepartManagerStaffIdIsNotNull() {
            addCriterion("depart_manager_staff_Id is not null");
            return (Criteria) this;
        }

        public Criteria andDepartManagerStaffIdEqualTo(Integer value) {
            addCriterion("depart_manager_staff_Id =", value, "departManagerStaffId");
            return (Criteria) this;
        }

        public Criteria andDepartManagerStaffIdNotEqualTo(Integer value) {
            addCriterion("depart_manager_staff_Id <>", value, "departManagerStaffId");
            return (Criteria) this;
        }

        public Criteria andDepartManagerStaffIdGreaterThan(Integer value) {
            addCriterion("depart_manager_staff_Id >", value, "departManagerStaffId");
            return (Criteria) this;
        }

        public Criteria andDepartManagerStaffIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("depart_manager_staff_Id >=", value, "departManagerStaffId");
            return (Criteria) this;
        }

        public Criteria andDepartManagerStaffIdLessThan(Integer value) {
            addCriterion("depart_manager_staff_Id <", value, "departManagerStaffId");
            return (Criteria) this;
        }

        public Criteria andDepartManagerStaffIdLessThanOrEqualTo(Integer value) {
            addCriterion("depart_manager_staff_Id <=", value, "departManagerStaffId");
            return (Criteria) this;
        }

        public Criteria andDepartManagerStaffIdIn(List<Integer> values) {
            addCriterion("depart_manager_staff_Id in", values, "departManagerStaffId");
            return (Criteria) this;
        }

        public Criteria andDepartManagerStaffIdNotIn(List<Integer> values) {
            addCriterion("depart_manager_staff_Id not in", values, "departManagerStaffId");
            return (Criteria) this;
        }

        public Criteria andDepartManagerStaffIdBetween(Integer value1, Integer value2) {
            addCriterion("depart_manager_staff_Id between", value1, value2, "departManagerStaffId");
            return (Criteria) this;
        }

        public Criteria andDepartManagerStaffIdNotBetween(Integer value1, Integer value2) {
            addCriterion("depart_manager_staff_Id not between", value1, value2, "departManagerStaffId");
            return (Criteria) this;
        }

        public Criteria andDepartManagerStaffNameIsNull() {
            addCriterion("depart_manager_staff_name is null");
            return (Criteria) this;
        }

        public Criteria andDepartManagerStaffNameIsNotNull() {
            addCriterion("depart_manager_staff_name is not null");
            return (Criteria) this;
        }

        public Criteria andDepartManagerStaffNameEqualTo(String value) {
            addCriterion("depart_manager_staff_name =", value, "departManagerStaffName");
            return (Criteria) this;
        }

        public Criteria andDepartManagerStaffNameNotEqualTo(String value) {
            addCriterion("depart_manager_staff_name <>", value, "departManagerStaffName");
            return (Criteria) this;
        }

        public Criteria andDepartManagerStaffNameGreaterThan(String value) {
            addCriterion("depart_manager_staff_name >", value, "departManagerStaffName");
            return (Criteria) this;
        }

        public Criteria andDepartManagerStaffNameGreaterThanOrEqualTo(String value) {
            addCriterion("depart_manager_staff_name >=", value, "departManagerStaffName");
            return (Criteria) this;
        }

        public Criteria andDepartManagerStaffNameLessThan(String value) {
            addCriterion("depart_manager_staff_name <", value, "departManagerStaffName");
            return (Criteria) this;
        }

        public Criteria andDepartManagerStaffNameLessThanOrEqualTo(String value) {
            addCriterion("depart_manager_staff_name <=", value, "departManagerStaffName");
            return (Criteria) this;
        }

        public Criteria andDepartManagerStaffNameLike(String value) {
            addCriterion("depart_manager_staff_name like", value, "departManagerStaffName");
            return (Criteria) this;
        }

        public Criteria andDepartManagerStaffNameNotLike(String value) {
            addCriterion("depart_manager_staff_name not like", value, "departManagerStaffName");
            return (Criteria) this;
        }

        public Criteria andDepartManagerStaffNameIn(List<String> values) {
            addCriterion("depart_manager_staff_name in", values, "departManagerStaffName");
            return (Criteria) this;
        }

        public Criteria andDepartManagerStaffNameNotIn(List<String> values) {
            addCriterion("depart_manager_staff_name not in", values, "departManagerStaffName");
            return (Criteria) this;
        }

        public Criteria andDepartManagerStaffNameBetween(String value1, String value2) {
            addCriterion("depart_manager_staff_name between", value1, value2, "departManagerStaffName");
            return (Criteria) this;
        }

        public Criteria andDepartManagerStaffNameNotBetween(String value1, String value2) {
            addCriterion("depart_manager_staff_name not between", value1, value2, "departManagerStaffName");
            return (Criteria) this;
        }

        public Criteria andAuditorStaffIdIsNull() {
            addCriterion("auditor_staff_Id is null");
            return (Criteria) this;
        }

        public Criteria andAuditorStaffIdIsNotNull() {
            addCriterion("auditor_staff_Id is not null");
            return (Criteria) this;
        }

        public Criteria andAuditorStaffIdEqualTo(Integer value) {
            addCriterion("auditor_staff_Id =", value, "auditorStaffId");
            return (Criteria) this;
        }

        public Criteria andAuditorStaffIdNotEqualTo(Integer value) {
            addCriterion("auditor_staff_Id <>", value, "auditorStaffId");
            return (Criteria) this;
        }

        public Criteria andAuditorStaffIdGreaterThan(Integer value) {
            addCriterion("auditor_staff_Id >", value, "auditorStaffId");
            return (Criteria) this;
        }

        public Criteria andAuditorStaffIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("auditor_staff_Id >=", value, "auditorStaffId");
            return (Criteria) this;
        }

        public Criteria andAuditorStaffIdLessThan(Integer value) {
            addCriterion("auditor_staff_Id <", value, "auditorStaffId");
            return (Criteria) this;
        }

        public Criteria andAuditorStaffIdLessThanOrEqualTo(Integer value) {
            addCriterion("auditor_staff_Id <=", value, "auditorStaffId");
            return (Criteria) this;
        }

        public Criteria andAuditorStaffIdIn(List<Integer> values) {
            addCriterion("auditor_staff_Id in", values, "auditorStaffId");
            return (Criteria) this;
        }

        public Criteria andAuditorStaffIdNotIn(List<Integer> values) {
            addCriterion("auditor_staff_Id not in", values, "auditorStaffId");
            return (Criteria) this;
        }

        public Criteria andAuditorStaffIdBetween(Integer value1, Integer value2) {
            addCriterion("auditor_staff_Id between", value1, value2, "auditorStaffId");
            return (Criteria) this;
        }

        public Criteria andAuditorStaffIdNotBetween(Integer value1, Integer value2) {
            addCriterion("auditor_staff_Id not between", value1, value2, "auditorStaffId");
            return (Criteria) this;
        }

        public Criteria andAuditorStaffNameIsNull() {
            addCriterion("auditor_staff_name is null");
            return (Criteria) this;
        }

        public Criteria andAuditorStaffNameIsNotNull() {
            addCriterion("auditor_staff_name is not null");
            return (Criteria) this;
        }

        public Criteria andAuditorStaffNameEqualTo(String value) {
            addCriterion("auditor_staff_name =", value, "auditorStaffName");
            return (Criteria) this;
        }

        public Criteria andAuditorStaffNameNotEqualTo(String value) {
            addCriterion("auditor_staff_name <>", value, "auditorStaffName");
            return (Criteria) this;
        }

        public Criteria andAuditorStaffNameGreaterThan(String value) {
            addCriterion("auditor_staff_name >", value, "auditorStaffName");
            return (Criteria) this;
        }

        public Criteria andAuditorStaffNameGreaterThanOrEqualTo(String value) {
            addCriterion("auditor_staff_name >=", value, "auditorStaffName");
            return (Criteria) this;
        }

        public Criteria andAuditorStaffNameLessThan(String value) {
            addCriterion("auditor_staff_name <", value, "auditorStaffName");
            return (Criteria) this;
        }

        public Criteria andAuditorStaffNameLessThanOrEqualTo(String value) {
            addCriterion("auditor_staff_name <=", value, "auditorStaffName");
            return (Criteria) this;
        }

        public Criteria andAuditorStaffNameLike(String value) {
            addCriterion("auditor_staff_name like", value, "auditorStaffName");
            return (Criteria) this;
        }

        public Criteria andAuditorStaffNameNotLike(String value) {
            addCriterion("auditor_staff_name not like", value, "auditorStaffName");
            return (Criteria) this;
        }

        public Criteria andAuditorStaffNameIn(List<String> values) {
            addCriterion("auditor_staff_name in", values, "auditorStaffName");
            return (Criteria) this;
        }

        public Criteria andAuditorStaffNameNotIn(List<String> values) {
            addCriterion("auditor_staff_name not in", values, "auditorStaffName");
            return (Criteria) this;
        }

        public Criteria andAuditorStaffNameBetween(String value1, String value2) {
            addCriterion("auditor_staff_name between", value1, value2, "auditorStaffName");
            return (Criteria) this;
        }

        public Criteria andAuditorStaffNameNotBetween(String value1, String value2) {
            addCriterion("auditor_staff_name not between", value1, value2, "auditorStaffName");
            return (Criteria) this;
        }

        public Criteria andExpenseStaffIdIsNull() {
            addCriterion("expense_staff_Id is null");
            return (Criteria) this;
        }

        public Criteria andExpenseStaffIdIsNotNull() {
            addCriterion("expense_staff_Id is not null");
            return (Criteria) this;
        }

        public Criteria andExpenseStaffIdEqualTo(Integer value) {
            addCriterion("expense_staff_Id =", value, "expenseStaffId");
            return (Criteria) this;
        }

        public Criteria andExpenseStaffIdNotEqualTo(Integer value) {
            addCriterion("expense_staff_Id <>", value, "expenseStaffId");
            return (Criteria) this;
        }

        public Criteria andExpenseStaffIdGreaterThan(Integer value) {
            addCriterion("expense_staff_Id >", value, "expenseStaffId");
            return (Criteria) this;
        }

        public Criteria andExpenseStaffIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("expense_staff_Id >=", value, "expenseStaffId");
            return (Criteria) this;
        }

        public Criteria andExpenseStaffIdLessThan(Integer value) {
            addCriterion("expense_staff_Id <", value, "expenseStaffId");
            return (Criteria) this;
        }

        public Criteria andExpenseStaffIdLessThanOrEqualTo(Integer value) {
            addCriterion("expense_staff_Id <=", value, "expenseStaffId");
            return (Criteria) this;
        }

        public Criteria andExpenseStaffIdIn(List<Integer> values) {
            addCriterion("expense_staff_Id in", values, "expenseStaffId");
            return (Criteria) this;
        }

        public Criteria andExpenseStaffIdNotIn(List<Integer> values) {
            addCriterion("expense_staff_Id not in", values, "expenseStaffId");
            return (Criteria) this;
        }

        public Criteria andExpenseStaffIdBetween(Integer value1, Integer value2) {
            addCriterion("expense_staff_Id between", value1, value2, "expenseStaffId");
            return (Criteria) this;
        }

        public Criteria andExpenseStaffIdNotBetween(Integer value1, Integer value2) {
            addCriterion("expense_staff_Id not between", value1, value2, "expenseStaffId");
            return (Criteria) this;
        }

        public Criteria andExpenseStaffNoIsNull() {
            addCriterion("expense_staff_no is null");
            return (Criteria) this;
        }

        public Criteria andExpenseStaffNoIsNotNull() {
            addCriterion("expense_staff_no is not null");
            return (Criteria) this;
        }

        public Criteria andExpenseStaffNoEqualTo(String value) {
            addCriterion("expense_staff_no =", value, "expenseStaffNo");
            return (Criteria) this;
        }

        public Criteria andExpenseStaffNoNotEqualTo(String value) {
            addCriterion("expense_staff_no <>", value, "expenseStaffNo");
            return (Criteria) this;
        }

        public Criteria andExpenseStaffNoGreaterThan(String value) {
            addCriterion("expense_staff_no >", value, "expenseStaffNo");
            return (Criteria) this;
        }

        public Criteria andExpenseStaffNoGreaterThanOrEqualTo(String value) {
            addCriterion("expense_staff_no >=", value, "expenseStaffNo");
            return (Criteria) this;
        }

        public Criteria andExpenseStaffNoLessThan(String value) {
            addCriterion("expense_staff_no <", value, "expenseStaffNo");
            return (Criteria) this;
        }

        public Criteria andExpenseStaffNoLessThanOrEqualTo(String value) {
            addCriterion("expense_staff_no <=", value, "expenseStaffNo");
            return (Criteria) this;
        }

        public Criteria andExpenseStaffNoLike(String value) {
            addCriterion("expense_staff_no like", value, "expenseStaffNo");
            return (Criteria) this;
        }

        public Criteria andExpenseStaffNoNotLike(String value) {
            addCriterion("expense_staff_no not like", value, "expenseStaffNo");
            return (Criteria) this;
        }

        public Criteria andExpenseStaffNoIn(List<String> values) {
            addCriterion("expense_staff_no in", values, "expenseStaffNo");
            return (Criteria) this;
        }

        public Criteria andExpenseStaffNoNotIn(List<String> values) {
            addCriterion("expense_staff_no not in", values, "expenseStaffNo");
            return (Criteria) this;
        }

        public Criteria andExpenseStaffNoBetween(String value1, String value2) {
            addCriterion("expense_staff_no between", value1, value2, "expenseStaffNo");
            return (Criteria) this;
        }

        public Criteria andExpenseStaffNoNotBetween(String value1, String value2) {
            addCriterion("expense_staff_no not between", value1, value2, "expenseStaffNo");
            return (Criteria) this;
        }

        public Criteria andExpenseStaffNameIsNull() {
            addCriterion("expense_staff_name is null");
            return (Criteria) this;
        }

        public Criteria andExpenseStaffNameIsNotNull() {
            addCriterion("expense_staff_name is not null");
            return (Criteria) this;
        }

        public Criteria andExpenseStaffNameEqualTo(String value) {
            addCriterion("expense_staff_name =", value, "expenseStaffName");
            return (Criteria) this;
        }

        public Criteria andExpenseStaffNameNotEqualTo(String value) {
            addCriterion("expense_staff_name <>", value, "expenseStaffName");
            return (Criteria) this;
        }

        public Criteria andExpenseStaffNameGreaterThan(String value) {
            addCriterion("expense_staff_name >", value, "expenseStaffName");
            return (Criteria) this;
        }

        public Criteria andExpenseStaffNameGreaterThanOrEqualTo(String value) {
            addCriterion("expense_staff_name >=", value, "expenseStaffName");
            return (Criteria) this;
        }

        public Criteria andExpenseStaffNameLessThan(String value) {
            addCriterion("expense_staff_name <", value, "expenseStaffName");
            return (Criteria) this;
        }

        public Criteria andExpenseStaffNameLessThanOrEqualTo(String value) {
            addCriterion("expense_staff_name <=", value, "expenseStaffName");
            return (Criteria) this;
        }

        public Criteria andExpenseStaffNameLike(String value) {
            addCriterion("expense_staff_name like", value, "expenseStaffName");
            return (Criteria) this;
        }

        public Criteria andExpenseStaffNameNotLike(String value) {
            addCriterion("expense_staff_name not like", value, "expenseStaffName");
            return (Criteria) this;
        }

        public Criteria andExpenseStaffNameIn(List<String> values) {
            addCriterion("expense_staff_name in", values, "expenseStaffName");
            return (Criteria) this;
        }

        public Criteria andExpenseStaffNameNotIn(List<String> values) {
            addCriterion("expense_staff_name not in", values, "expenseStaffName");
            return (Criteria) this;
        }

        public Criteria andExpenseStaffNameBetween(String value1, String value2) {
            addCriterion("expense_staff_name between", value1, value2, "expenseStaffName");
            return (Criteria) this;
        }

        public Criteria andExpenseStaffNameNotBetween(String value1, String value2) {
            addCriterion("expense_staff_name not between", value1, value2, "expenseStaffName");
            return (Criteria) this;
        }

        public Criteria andExpenseResultIsNull() {
            addCriterion("expense_result is null");
            return (Criteria) this;
        }

        public Criteria andExpenseResultIsNotNull() {
            addCriterion("expense_result is not null");
            return (Criteria) this;
        }

        public Criteria andExpenseResultEqualTo(Integer value) {
            addCriterion("expense_result =", value, "expenseResult");
            return (Criteria) this;
        }

        public Criteria andExpenseResultNotEqualTo(Integer value) {
            addCriterion("expense_result <>", value, "expenseResult");
            return (Criteria) this;
        }

        public Criteria andExpenseResultGreaterThan(Integer value) {
            addCriterion("expense_result >", value, "expenseResult");
            return (Criteria) this;
        }

        public Criteria andExpenseResultGreaterThanOrEqualTo(Integer value) {
            addCriterion("expense_result >=", value, "expenseResult");
            return (Criteria) this;
        }

        public Criteria andExpenseResultLessThan(Integer value) {
            addCriterion("expense_result <", value, "expenseResult");
            return (Criteria) this;
        }

        public Criteria andExpenseResultLessThanOrEqualTo(Integer value) {
            addCriterion("expense_result <=", value, "expenseResult");
            return (Criteria) this;
        }

        public Criteria andExpenseResultIn(List<Integer> values) {
            addCriterion("expense_result in", values, "expenseResult");
            return (Criteria) this;
        }

        public Criteria andExpenseResultNotIn(List<Integer> values) {
            addCriterion("expense_result not in", values, "expenseResult");
            return (Criteria) this;
        }

        public Criteria andExpenseResultBetween(Integer value1, Integer value2) {
            addCriterion("expense_result between", value1, value2, "expenseResult");
            return (Criteria) this;
        }

        public Criteria andExpenseResultNotBetween(Integer value1, Integer value2) {
            addCriterion("expense_result not between", value1, value2, "expenseResult");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}